import request from '@/utils/request'

// 查询卡卡-用户扩展列表
export function listExtenduser(query) {
  return request({
    url: '/kakabl/extenduser/list',
    method: 'get',
    params: query
  })
}


// 查询卡卡-用户扩展列表
export function selectDetialSeaAndBeadNumber(query) {
  return request({
    url: '/kakabl/Invite/center/selectDetialSeaAndBeadNumber',
    method: 'get',
    params: query
  })
}

// 查询卡卡-用户扩展详细
export function getExtenduser(id) {
  return request({
    url: '/kakabl/extenduser/' + id,
    method: 'get'
  })
}

// 新增卡卡-用户扩展
export function addExtenduser(data) {
  return request({
    url: '/kakabl/extenduser',
    method: 'post',
    data: data
  })
}

// 修改卡卡-用户扩展
export function updateExtenduser(data) {
  return request({
    url: '/kakabl/extenduser',
    method: 'put',
    data: data
  })
}

// 删除卡卡-用户扩展
export function delExtenduser(id) {
  return request({
    url: '/kakabl/extenduser/' + id,
    method: 'delete'
  })
}


// 新增卡卡-用户扩展
export function addCard(data) {
  return request({
    url: '/kakabl/extenduser/center/addCard',
    method: 'post',
    data: data
  })
}


// 新增卡卡-用户扩展
export function addSead(data) {
  return request({
    url: '/kakabl/extenduser/center/addSead',
    method: 'post',
    data: data
  })
}
